on-device model
Model Exposure on One Device Endangers Others: Rethinking Edge Neural Network Security across Devices
Zhang, Yuyang, Chen, Kangjie, Jin, Yihui, Wang, Run
Neural networks (NNs) are increasingly deployed on edge devices such as mobile and IoT platforms, offering low latency and improved privacy compared to cloud-based deployment. However, on-device models embedded in mobile applications can be unpacked and exposed to adversaries, enabling cross-node attacks in centrally distributed ecosystems, where adversarial examples crafted on one compromised device transfer effectively to other nodes sharing the same models. To address this threat, we propose VeilNN, a defense framework that reduces adversarial transferability across on-device models via model obfuscation. The core idea of VeilNN is to introduce controlled model diversity while preserving original task functionality. Specifically, VeilNN applies stealthy and irreversible obfuscation at both the architectural and parameter levels through network cell obfuscation and layer assembling, and is applicable to diverse NN architectures, including MLPs, CNNs, and Vision Transformers. Extensive experiments demonstrate that VeilNN effectively defends against cross-node attacks, achieving an average defense success of 49.19% and up to 81.19% across four adversarial attack types, with more than 33.16% improvement over existing defenses.
An Empirical Study of On-Device Translation for Real-Time Live-Stream Chat on Mobile Devices
Park, Jeiyoon, Lee, Daehwan, Yeo, Changmin, Han, Yongshin, Kim, Minseop
Despite its efficiency, there has been little research on the practical aspects required for real-world deployment of on-device AI models, such as the device's CPU utilization and thermal conditions. In this paper, through extensive experiments, we investigate two key issues that must be addressed to deploy on-device models in real-world services: (i) the selection of on-device models and the resource consumption of each model, and (ii) the capability and potential of on-device models for domain adaptation. To this end, we focus on a task of translating live-stream chat messages and manually construct LiveChatBench, a benchmark consisting of 1,000 Korean-English parallel sentence pairs. Experiments on five mobile devices provide a systematic empirical assessment of widely adopted on-device models, highlighting the importance of model selection and deployment constraints when adapting them to specialized tasks and serving a large and heterogeneous user base. We expect that our findings will offer practical insights into both the capabilities and limitations of on-device models for real-world AI service deployment.
Benchmarking and Adapting On-Device LLMs for Clinical Decision Support
Munim, Alif, Ma, Jun, Ibrahim, Omar, Abdalla, Alhusain, Yin, Shuolin, Chen, Leo, Wang, Bo
Large language models (LLMs) have rapidly advanced in clinical decision-making, yet the deployment of proprietary systems is hindered by privacy concerns and reliance on cloud-based infrastructure. Open-source alternatives allow local inference but often have large model sizes that limit their use in resource-constrained clinical settings. We compare their performance with state-of-the-art proprietary models (GPT-5.1, GPT-5-mini, and Gemini 3.1 Pro) and a leading open-source model (DeepSeek-R1), and we further evaluate the adaptability of on-device systems by fine-tuning gpt-oss-20b and Qwen3.5-35B on general diagnostic data. Across tasks, on-device models achieve performance comparable to or exceeding DeepSeek-R1 and GPT-5-mini despite being substantially smaller. In addition, fine-tuning remarkably improves diagnostic accuracy, with the fine-tuned Qwen3.5-35B Among base on-device models, Gemma 4 31B achieved the strongest general diagnostic accuracy at 86.5%, exceeding GPT-5-mini and approaching the fine-tuned Qwen3.5-35B. Error characterization revealed that 87.2% of diagnostic errors across all models were clinically plausible differentials rather than off-topic predictions, and upper-bound analysis showed up to 93.2% attainable accuracy through improved answer selection. These findings highlight the potential of on-device LLMs to deliver accurate, adaptable, and privacy-preserving clinical decision support, offering a practical pathway for broader integration of LLMs into routine clinical practice. INTRODUCTION Large language models (LLMs) are rapidly transforming the landscape of clinical medicine [1], [2]. Trained on massive corpora of general-domain and biomedical text, these models have demonstrated emergent reasoning abilities that enable comprehensive summaries from medical dialogue [3], disease diagnosis, and treatment planning [4]. For example, MedPaLM [5], [6] and AMIE [7], [8] achieved near-clinician performance in open-ended medical question answering, differential diagnosis, and patient consultation simulations [9]. In real-world evaluations [10], [11], LLM-assisted physicians exhibited improved diagnostic accuracy and management decisions across diverse clinical scenarios.
LightAgent: Mobile Agentic Foundation Models
With the advancement of multimodal large language models (MLLMs), building GUI agent systems has become an increasingly promising direction-especially for mobile platforms, given their rich app ecosystems and intuitive touch interactions. Yet mobile GUI agents face a critical dilemma: truly on-device models (4B or smaller) lack sufficient performance, while capable models (starting from 7B) are either too large for mobile deployment or prohibitively costly (e.g., cloud-only closed-source MLLMs). To resolve this, we propose LightAgent, a mobile agentic foundation model solution that leverages device-cloud collaboration to tap the cost-efficiency of on-device models and the high capability of cloud models, while avoiding their drawbacks. Specifically, LightAgent enhances Qwen2.5-VL-3B via two-stage SFT->GRPO training on synthetic GUI data for strong decision-making, integrates an efficient long-reasoning mechanism to utilize historical interactions under tight resources, and defaults to on-device execution-only escalating challenging subtasks to the cloud via real-time complexity assessment. Experiments on the online AndroidLab benchmark and diverse apps show LightAgent matches or nears larger models, with a significant reduction in cloud costs.
Apple Intelligence Foundation Language Models: Tech Report 2025
Li, Ethan, Larsen, Anders Boesen Lindbo, Zhang, Chen, Zhou, Xiyou, Qin, Jun, Yap, Dian Ang, Raghavan, Narendran, Chang, Xuankai, Bowler, Margit, Yildiz, Eray, Peebles, John, Coleman, Hannah Gillis, Ronchi, Matteo, Gray, Peter, You, Keen, Spalvieri-Kruse, Anthony, Pang, Ruoming, Li, Reed, Yang, Yuli, Soroush, Emad, Lu, Zhiyun, Xiao, Crystal, Situ, Rong, Huffaker, Jordan, Griffiths, David, Ahmed, Zaid, Zhang, Peng, Parilla, Daniel, Liberman, Asaf, Mallalieu, Jennifer, Mazaheri, Parsa, Chen, Qibin, Bilkhu, Manjot, Zhang, Aonan, Wang, Eric, Nelson, Dave, FitzMaurice, Michael, Voice, Thomas, Liu, Jeremy, Shaffer, Josh, Zhao, Shiwen, Yadla, Prasanth, Rasteh, Farzin, Guo, Pengsheng, Farooq, Arsalan, Snow, Jeremy, Murphy, Stephen, Lei, Tao, Cho, Minsik, Horrell, George, Dodge, Sam, Hislop, Lindsay, Singh, Sumeet, Dombrowski, Alex, Raghavan, Aiswarya, Sirovica, Sasha, Saebi, Mandana, Lao, Faye, Lam, Max, Lu, TJ, Xu, Zhaoyang, Singh, Karanjeet, Kirchner, Marc, Mizrahi, David, Arora, Rajat, Zhang, Haotian, Mason, Henry, Zhou, Lawrence, Hua, Yi, Jain, Ankur, Bai, Felix, Astrauskas, Joseph, Weers, Floris, Gardner, Josh, Chiang, Mira, Zhang, Yi, Agrawal, Pulkit, Sun, Tony, Keunebroek, Quentin, Hopkins, Matthew, Wu, Bugu, Jia, Tao, Chen, Chen, Zhou, Xingyu, Wang, Nanzhu, Liu, Peng, Hou, Ruixuan, Rauch, Rene, Gao, Yuan, Dehghan, Afshin, Janke, Jonathan, Wang, Zirui, Chen, Cha, Ren, Xiaoyi, Nan, Feng, Elman, Josh, Yin, Dong, Goren, Yusuf, Lai, Jeff, Fei, Yiran, Evans, Syd, Yu, Muyang, Yin, Guoli, Qin, Yi, Feldman, Erin, Garg, Isha, Rajamani, Aparna, Vega, Karla, Cheng, Walker, Collins, TJ, Han, Hans, Menacho, Raul Rea, Yeung, Simon, Lee, Sophy, Mutyala, Phani, Cheng, Ying-Chang, Gan, Zhe, Chu, Sprite, Lazarow, Justin, Pappalardo, Alessandro, Scozzafava, Federico, Lu, Jing, Daxberger, Erik, Duchesne, Laurent, Liu, Jen, Güera, David, Ligas, Stefano, Kery, Mary Beth, Ramerth, Brent, Sannino, Ciro, Eichner, Marcin, Huang, Haoshuo, Qian, Rui, Schwarzer-Becker, Moritz, Riazati, David, Gao, Mingfei, Wang, Bailin, Cackler, Jack, Lu, Yang, Niu, Ransen, Dennison, John, Klein, Guillaume, Bigham, Jeffrey, Gopinath, Deepak, Shiee, Navid, Botten, Darren, Tartavel, Guillaume, Garcia, Alex Guillen, Xu, Sam, Haladjian, Victoria MönchJuan, Dou, Zi-Yi, Paulik, Matthias, Mendez, Adolfo Lopez, Li, Zhen, Chen, Hong-You, Jia, Chao, Doshi, Dhaval, Zhang, Zhengdong, Manjani, Raunak, Franklin, Aaron, Ren, Zhile, Chen, David, Peshko, Artsiom, Raghuram, Nandhitha, Hao, Hans, Shan, Jiulong, Nerella, Kavya, Tantawi, Ramsey, Kumar, Vivek, Wang, Saiwen, Wershing, Brycen, Dhingra, Bhuwan, Shah, Dhruti, Adaranijo, Ob, Zheng, Xin, Madsen, Tait, Kotek, Hadas, Liu, Chang, Xia, Yin, Li, Hanli, Jayaram, Suma, Sun, Yanchao, Fakhry, Ahmed, Saveris, Vasileios, Withers, Dustin, Li, Yanghao, Aygar, Alp, Teran, Andres Romero Mier Y, Huang, Kaiwei, Lee, Mark, Li, Xiujun, Li, Yuhong, Johnson, Tyler, Tang, Jay, Cheng, Joseph Yitan, Peng, Futang, Walkingshaw, Andrew, Guibert, Lucas, Sharma, Abhishek, Shen, Cheng, Maj, Piotr, Tanaka, Yasutaka, Jhang, You-Cyuan, Ma, Vivian, Vehvilainen, Tommi, Zou, Kelvin, Nichols, Jeff, Lei, Matthew, Qiu, David, Qian, Yihao, Santhanam, Gokul, Wu, Wentao, Han, Yena, Moritz, Dominik, Fu, Haijing, Xu, Mingze, Rathod, Vivek, Liu, Jian, D'hauwe, Louis, Ba, Qin, Sun, Haitian, Yan, Haoran, Dufter, Philipp, Nguyen, Anh, Feng, Yihao, Wang, Emma, He, Keyu, Nair, Rahul, Shah, Sanskruti, Lu, Jiarui, Sonnenberg, Patrick, Warner, Jeremy, Li, Yuanzhi, Pan, Bowen, Zhong, Ziyi, Zhou, Joe, Davarnia, Sam, Saarikivi, Olli, Belousova, Irina, Burger, Rachel, Wu, Shang-Chen, Feng, Di, Straathof, Bas, Chou, James, Zhang, Yuanyang, Zuliani, Marco, Jimenez, Eduardo, Sundararajan, Abhishek, Du, Xianzhi, Lan, Chang, Shahdadpuri, Nilesh, Grasch, Peter, Sima, Sergiu, Newnham, Josh, Paidi, Varsha, Wang, Jianyu, Haag, Kaelen, Braunstein, Alex, Molinari, Daniele, Wei, Richard, Yang, Brenda, Lusskin, Nicholas, Arreaza-Taylor, Joanna, Cao, Meng, Seidl, Nicholas, Wang, Simon, Hu, Jiaming, Ma, Yiping, Li, Mengyu, Liu, Kieran, Su, Hang, Ravi, Sachin, Wang, Chong, Wang, Xin, Smith, Kevin, You, Haoxuan, Karimzadeh, Binazir, Li, Rui, Lei, Jinhao, Fang, Wei, Doane, Alec, Wiseman, Sam, Fernandez, Ismael, Li, Jane, Hansen, Andrew, Movellan, Javier, Neubauer, Christopher, Zhou, Hanzhi, Chaney, Chris, Kamaldin, Nazir, Wolf, Valentin, Bermúdez-Medina, Fernando, Pelemans, Joris, Fu, Peter, Xing, Howard, Kong, Xiang, Shan, Wayne, Jacoby-Cooper, Gabriel, Shen, Dongcai, Gunter, Tom, Seguin, Guillaume, Shi, Fangping, Li, Shiyu, Xu, Yang, Kamal, Areeba, Masi, Dan, Guha, Saptarshi, Zhu, Qi, Thibodeau, Jenna, Zhang, Changyuan, Callahan, Rebecca, Maalouf, Charles, Tsao, Wilson, Li, Boyue, Cao, Qingqing, Sabo, Naomy, Leong, Cheng, Wang, Yi, Anupama, Anupama Mann, Reed, Colorado, Jung, Kenneth, Chen, Zhifeng, Moorthy, Mohana Prasad Sathya, He, Yifei, Hornberger, Erik, Krishna, Devi, Tong, Senyu, Michael, null, Lee, null, Haldimann, David, Zhao, Yang, Zhang, Bowen, Gao, Chang, Bartels, Chris, Rao, Sushma, Tran, Nathalie, Lehnerer, Simon, Giang, Co, Dong, Patrick, Pan, Junting, Wang, Biyao, Li, Dongxu, Farajtabar, Mehrdad, Hwang, Dongseong, Duanmu, Grace, Verma, Eshan, Reddy, Sujeeth, Shan, Qi, Gao, Hongbin, Du, Nan, Sridhar, Pragnya, Huang, Forrest, Wang, Yingbo, Bhendawade, Nikhil, Zhu, Diane, Aitharaju, Sai, Hohman, Fred, Gardiner, Lauren, Chiu, Chung-Cheng, Yang, Yinfei, Kokmen, Alper, Chu, Frank, Ye, Ke, Elgin, Kaan, Levy, Oron, Park, John, Zhang, Donald, Schoop, Eldon, Wenzel, Nina, Booker, Michael, Kim, Hyunjik, Erdenebileg, Chinguun, Dun, Nan, Yang, Eric Liang, Chhatrapati, Priyal, Mahtani, Vishaal, Gang, Haiming, Chia, Kohen, Seshadri, Deepa, Yu, Donghan, Meng, Yan, Peterson, Kelsey, Yang, Zhen, Wang, Yongqiang, Peng, Carina, Kang, Doug, Agarwal, Anuva, Antony, Albert, Tebar, Juan Lao, Jose, Albin Madappally, Poston, Regan, De Wang, Andy, Casamayor, Gerard, Amirloo, Elmira, Yao, Violet, Kryscinski, Wojciech, Duan, Kun, L, Lezhi
We introduce two multilingual, multimodal foundation language models that power Apple Intelligence features across Apple devices and services: i a 3B-parameter on-device model optimized for Apple silicon through architectural innovations such as KV-cache sharing and 2-bit quantization-aware training; and ii a scalable server model built on a novel Parallel-Track Mixture-of-Experts PT-MoE transformer that combines track parallelism, mixture-of-experts sparse computation, and interleaved global-local attention to deliver high quality with competitive cost on Apple's Private Cloud Compute platform. Both models are trained on large-scale multilingual and multimodal datasets sourced via responsible web crawling, licensed corpora, and high-quality synthetic data, then further refined with supervised fine-tuning and reinforcement learning on a new asynchronous platform. The resulting models support several additional languages while understanding images and executing tool calls. In public benchmarks and human evaluations, both the server model and the on-device model match or surpass comparably sized open baselines. A new Swift-centric Foundation Models framework exposes guided generation, constrained tool calling, and LoRA adapter fine-tuning, allowing developers to integrate these capabilities with a few lines of code. The latest advancements in Apple Intelligence models are grounded in our Responsible AI approach with safeguards like content filtering and locale-specific evaluation, as well as our commitment to protecting our users' privacy with innovations like Private Cloud Compute.
The Larger the Merrier? Efficient Large AI Model Inference in Wireless Edge Networks
Lyu, Zhonghao, Xiao, Ming, Xu, Jie, Skoglund, Mikael, Di Renzo, Marco
The growing demand for large artificial intelligence model (LAIM) services is driving a paradigm shift from traditional cloud-based inference to edge-based inference for low-latency, privacy-preserving applications. In particular, edge-device co-inference, which partitions LAIMs between edge devices and servers, has emerged as a promising strategy for resource-efficient LAIM execution in wireless networks. In this paper, we investigate a pruning-aware LAIM co-inference scheme, where a pre-trained LAIM is pruned and partitioned into on-device and on-server sub-models for deployment. For analysis, we first prove that the LAIM output distortion is upper bounded by its parameter distortion. Then, we derive a lower bound on parameter distortion via rate-distortion theory, analytically capturing the relationship between pruning ratio and co-inference performance. Next, based on the analytical results, we formulate an LAIM co-inference distortion bound minimization problem by jointly optimizing the pruning ratio, transmit power, and computation frequency under system latency, energy, and available resource constraints. Moreover, we propose an efficient algorithm to tackle the considered highly non-convex problem. Finally, extensive simulations demonstrate the effectiveness of the proposed design. In particular, model parameter distortion is shown to provide a reliable bound on output distortion. Also, the proposed joint pruning ratio and resource management design achieves superior performance in balancing trade-offs among inference performance, system latency, and energy consumption compared with benchmark schemes, such as fully on-device and on-server inference. Moreover, the split point is shown to play a critical role in system performance optimization under heterogeneous and resource-limited edge environments.
THEMIS: Towards Practical Intellectual Property Protection for Post-Deployment On-Device Deep Learning Models
Huang, Yujin, Zhang, Zhi, Zhao, Qingchuan, Yuan, Xingliang, Chen, Chunyang
On-device deep learning (DL) has rapidly gained adoption in mobile apps, offering the benefits of offline model inference and user privacy preservation over cloud-based approaches. However, it inevitably stores models on user devices, introducing new vulnerabilities, particularly model-stealing attacks and intellectual property infringement. While system-level protections like Trusted Execution Environments (TEEs) provide a robust solution, practical challenges remain in achieving scalable on-device DL model protection, including complexities in supporting third-party models and limited adoption in current mobile solutions. Advancements in TEE-enabled hardware, such as NVIDIA's GPU-based TEEs, may address these obstacles in the future. Currently, watermarking serves as a common defense against model theft but also faces challenges here as many mobile app developers lack corresponding machine learning expertise and the inherent read-only and inference-only nature of on-device DL models prevents third parties like app stores from implementing existing watermarking techniques in post-deployment models. To protect the intellectual property of on-device DL models, in this paper, we propose THEMIS, an automatic tool that lifts the read-only restriction of on-device DL models by reconstructing their writable counterparts and leverages the untrainable nature of on-device DL models to solve watermark parameters and protect the model owner's intellectual property. Extensive experimental results across various datasets and model structures show the superiority of THEMIS in terms of different metrics. Further, an empirical investigation of 403 real-world DL mobile apps from Google Play is performed with a success rate of 81.14%, showing the practicality of THEMIS.
Privacy-Preserving Edge Speech Understanding with Tiny Foundation Models
Benazir, Afsara, Lin, Felix Xiaozhu
Robust speech recognition systems rely on cloud service providers for inference. It needs to ensure that an untrustworthy provider cannot deduce the sensitive content in speech. Sanitization can be done on speech content keeping in mind that it has to avoid compromising transcription accuracy. Realizing the under utilized capabilities of tiny speech foundation models (FMs), for the first time, we propose a novel use: enhancing speech privacy on resource-constrained devices. We introduce XYZ, an edge/cloud privacy preserving speech inference engine that can filter sensitive entities without compromising transcript accuracy. We utilize a timestamp based on-device masking approach that utilizes a token to entity prediction model to filter sensitive entities. Our choice of mask strategically conceals parts of the input and hides sensitive data. The masked input is sent to a trusted cloud service or to a local hub to generate the masked output. The effectiveness of XYZ hinges on how well the entity time segments are masked. Our recovery is a confidence score based approach that chooses the best prediction between cloud and on-device model. We implement XYZ on a 64 bit Raspberry Pi 4B. Experiments show that our solution leads to robust speech recognition without forsaking privacy. XYZ with < 100 MB memory, achieves state-of-the-art (SOTA) speech transcription performance while filtering about 83% of private entities directly on-device. XYZ is 16x smaller in memory and 17x more compute efficient than prior privacy preserving speech frameworks and has a relative reduction in word error rate (WER) by 38.8-77.5% when compared to existing offline transcription services.
Stealthy Backdoor Attack to Real-world Models in Android Apps
Wei, Jiali, Fan, Ming, Zhang, Xicheng, Jiao, Wenjing, Wang, Haijun, Liu, Ting
Powered by their superior performance, deep neural networks (DNNs) have found widespread applications across various domains. Many deep learning (DL) models are now embedded in mobile apps, making them more accessible to end users through on-device DL. However, deploying on-device DL to users' smartphones simultaneously introduces several security threats. One primary threat is backdoor attacks. Extensive research has explored backdoor attacks for several years and has proposed numerous attack approaches. However, few studies have investigated backdoor attacks on DL models deployed in the real world, or they have shown obvious deficiencies in effectiveness and stealthiness. In this work, we explore more effective and stealthy backdoor attacks on real-world DL models extracted from mobile apps. Our main justification is that imperceptible and sample-specific backdoor triggers generated by DNN-based steganography can enhance the efficacy of backdoor attacks on real-world models. We first confirm the effectiveness of steganography-based backdoor attacks on four state-of-the-art DNN models. Subsequently, we systematically evaluate and analyze the stealthiness of the attacks to ensure they are difficult to perceive. Finally, we implement the backdoor attacks on real-world models and compare our approach with three baseline methods. We collect 38,387 mobile apps, extract 89 DL models from them, and analyze these models to obtain the prerequisite model information for the attacks. After identifying the target models, our approach achieves an average of 12.50% higher attack success rate than DeepPayload while better maintaining the normal performance of the models. Extensive experimental results demonstrate that our method enables more effective, robust, and stealthy backdoor attacks on real-world models.
Privacy-Enhanced Training-as-a-Service for On-Device Intelligence: Concept, Architectural Scheme, and Open Problems
Wu, Zhiyuan, Sun, Sheng, Wang, Yuwei, Liu, Min, Gao, Bo, He, Tianliu, Wang, Wen
On-device intelligence (ODI) enables artificial intelligence (AI) applications to run on end devices, providing real-time and customized AI inference without relying on remote servers. However, training models for on-device deployment face significant challenges due to the decentralized and privacy-sensitive nature of users' data, along with end-side constraints related to network connectivity, computation efficiency, etc. Existing training paradigms, such as cloud-based training, federated learning, and transfer learning, fail to sufficiently address these practical constraints that are prevalent for devices. To overcome these challenges, we propose Privacy-Enhanced Training-as-a-Service (PTaaS), a novel service computing paradigm that provides privacy-friendly, customized AI model training for end devices. PTaaS outsources the core training process to remote and powerful cloud or edge servers, efficiently developing customized on-device models based on uploaded anonymous queries, enhancing data privacy while reducing the computation load on individual devices. We explore the definition, goals, and design principles of PTaaS, alongside emerging technologies that support the PTaaS paradigm. An architectural scheme for PTaaS is also presented, followed by a series of open problems that set the stage for future research directions in the field of PTaaS.